import { memo } from 'react'
import { Outlet } from 'react-router'
import { DiscoverContainer } from './style'

import HomeNav from './top-nav-bar'

export default memo(function Discover() {
	return (
		<>
			{/* 一级路由-Discover 页面！ */}
			<DiscoverContainer>
				<HomeNav />
				<Outlet />
			</DiscoverContainer>
		</>
	)
})
